package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.RoleDto;
import com.zzyl.vo.RoleVo;

import java.util.Set;

/**
 * @Description RoleService
 * @Author Wen Jie
 * @Date 2024-09-16
 */
public interface RoleService {
    PageResponse<RoleVo> findRolePage(RoleDto roleDto, int pageNum, int pageSize);

    void createRole(RoleDto roleDto);

    Set<String> findCheckedResources(Long roleId);

    Boolean updateRole(RoleDto roleDto);

    void deleteRole(Long roleId);
}
